package com.fys.user.enums;

import lombok.Getter;

/**
 * @author: fys
 * @description:
 * @create: 2020-07-24 11:11
 **/
@Getter
public enum ResultEnum {
    LOGIN_FAIL(400,"登录失败"),
    OPEN_ID_ERROR(1, "openId不一致"),
    ROLE_ERROR(2, "登录角色不匹配")
    ;

    private Integer code;
    private String message;

    ResultEnum(Integer code, String message){
        this.code = code;
        this.message = message;
    }
}
